from django.contrib import admin
from django.urls import path

from apps.talk import views

urlpatterns = [
    # 吐槽列表    和吐槽发布
    path('spit/',views.SpitView.as_view()),
    # 吐槽收藏
    path('spit/<id>/collect/',views.SpitOutView.as_view()),
    # 吐槽点赞
    path('spit/<id>/updatethumbup/',views.SpitThumbs.as_view()),

     # 吐槽详情
    path('spit/<id>/',views.SpitDetail.as_view()),
    # # 吐槽评论
    path('spit/<id>/children/',views.SpitComments.as_view()),


]
